package com.ccsoft.atools.dao;

import com.ccsoft.atools.model.SysPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysPermissionMapper {
    int deleteByPrimaryKey(Integer iid);

    int insert(SysPermission record);

    SysPermission selectByPrimaryKey(Integer iid);

    List<SysPermission> selectAll();

    int updateByPrimaryKey(SysPermission record);

    List<SysPermission> selectByObjPerm(@Param("objectIid") int objectIid, @Param("type") String type);
}